/**
 * Created by 小敏哥 on 2017/7/17.
 */
import React, {Component} from 'react';
import style from './index.scss';


class TextAndTitle extends Component {
    constructor(props) {
        super(props);
    }

    render(){
        return <div className={style.container}>
            <h2>{this.props.title}</h2>
            <p>{this.props.content}</p>
        </div>
    }
}

export default TextAndTitle